package T5;

public class Actor implements Film,Sing,TelePlay{
    private String name;

    public Actor(String name) {
        this.name = name;
    }
    public void show(){
        System.out.println("大家好，我是"+this.name+"!");
    }
    @Override
    public void film() {
        System.out.println("我能演电影！");
    }
    @Override
    public void telePlay() {
        System.out.println("我能演电视剧！");
    }
    @Override
    public void sing() {
        System.out.println("我会唱歌！");
    }
}
